Nevron Open Vision Documentation
Nevron.Nov Namespace / NPromise<TResult> Class / CatchPromiseUndefined Method


In This Topic
    CatchPromiseUndefined Method (NPromise<TResult>)
    In This Topic
    Adds a rejected handler for this promise and returns an undefined promise
    Syntax
    'Declaration
     
    
    Public Function CatchPromiseUndefined( _
       ByVal rejectedHandler As Nevron.Nov.Function(Of Exception) _
    ) As NPromise(Of NUndefined)
    'Usage
     
    
    Dim instance As NPromise(Of TResult)
    Dim rejectedHandler As Nevron.Nov.Function(Of Exception)
    Dim value As NPromise(Of NUndefined)
     
    value = instance.CatchPromiseUndefined(rejectedHandler)
    public NPromise<NUndefined> CatchPromiseUndefined( 
       Nevron.Nov.Function<Exception> rejectedHandler
    )

    Parameters

    rejectedHandler
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also